package lab02.Test12;

/**
 * Created by mac on 2017/10/25.
 */
public class Circle extends Shape {

    Circle(){}

    //属性

    float radius;

    //行为

    @Override
    double area() {
        return  3.14*radius*radius;

    }

    @Override
    double perimeter() {
        return 2*3.14*radius;
    }


}
